﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys.Farmings
{
    /// <summary>
    /// 添加养殖信息命令
    /// </summary>
    public class AddFarmingCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 品种
        /// </summary>
        public string Breed { get; set; } = null!;
        /// <summary>
        /// 来源
        /// </summary>
        public string Origin { get; set; } = null!;
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDays { get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedBrand { get; set; } = null!;
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string FeedingSupervisor { get; set; } = null!;
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime HarvestDate { get; set; }

        /// <summary>
        /// 溯源编号
        /// </summary>
        public int ProductId { get; set; }

    }
}
